package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Permission;
import java.util.List;

public interface PermissionSettingDao {
    //根据角色查权限
    public List<Permission> findAllPermission();
    //删除检查项
    public void deletePermissionById(Integer id);
    //根据id查询
    public Permission findPermissionById(Integer id);
    //检查项新增
    public void add(Permission permission);
    //检查项分页查询
    public Page<Permission> selectPermissionByCondition(String queryString);
}
